package com.toocms.jinjuhang.ui.mine.payment.bank

import com.toocms.jinjuhang.BR
import com.toocms.jinjuhang.R
import com.toocms.jinjuhang.databinding.FgtBankListBinding
import com.toocms.jinjuhang.ui.base.BaseFgt
import com.toocms.jinjuhang.ui.mine.payment.bank.add.AddBankFgt

/**
 * @Description:
 * @Author:         Zero
 * @CreateDate:     2023/5/18 14:01
 */
class BankListFgt : BaseFgt<FgtBankListBinding, BankListModel>() {

    override fun onFragmentCreated() {
        topBar.setTitle("选择银行卡")
        topBar.addRightTextButton("添加银行卡", 0x1).setOnClickListener {
            startFragment(AddBankFgt::class.java)
        }
    }

    override fun getLayoutResId() = R.layout.fgt_bank_list

    override fun getVariableId() = BR.bankListModel

    override fun viewObserver() {
    }
}